package com.example.provider.service;

import com.example.demo.service.DemoService2;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/9/14 10:26
 */
@DubboService(version = "2",group = "DUBBO")
public class DemoServiceImp implements DemoService2 {
    @Override
    public Integer getNub() {
        return (int)Math.random();
    }
}
